﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="AspNet_PageControls_Grid_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:DataGrid ID = "dgGrid1" runat="server" AutoGenerateColumns="true" 
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3">
        <Columns>
<%--            <asp:BoundColumn HeaderText="ID" DataField="ID"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="name" DataField="name"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="phone" DataField="phone"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="email" DataField="email"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="address" DataField="address"></asp:BoundColumn>
--%>        </Columns>
        <FooterStyle BackColor="White" ForeColor="#000066" />
        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
        <ItemStyle ForeColor="#000066" />
        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" 
            Mode="NumericPages" />
        <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
    </asp:DataGrid>
    </div>
    </form>
</body>
</html>
